#!/bin/bash
set -xue

sh build.sh

#QEMU file path
QEMU=qemu-system-riscv32

echo "starting kernel..."

#start QEMU
$QEMU -machine virt -bios default -nographic -serial mon:stdio --no-reboot \
-kernel kernel.elf

